<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/12/14 0014
  Time: 10:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>El测试</title>
</head>
<body>
<c:if test="${user==null||user==''}" var="judge" scope="session">
    <h1>新增</h1>
    <form action="EL_insert.jsp" method="post">
        <input type="text" name="text"/>
        <input type="submit" value="新增"/>
    </form>
</c:if>
<c:if test="${!judge}">
    <h1>注销</h1>
    <form action="EL_remove.jsp" method="post">
        <input type="submit" value="注销"/>
    </form>
</c:if>
</body>
</html>
